package com.godGuang.auth.feign;

import com.godGuang.auth.domin.Wallet;
import com.godGuang.auth.feign.impl.WalletFeignImpl;
import com.godGuang.common.core.domain.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @version 1.0
 * @description
 */
@FeignClient(name = "godGuang-patient",fallback = WalletFeignImpl.class)
public interface WalletFeign {
    /**
     * @description: 创建钱包
     * @author: Lxk
     * @date: 2024/1/10 16:18
     * @param: [wallet]
     * @return: com.godGuang.common.core.domain.Result
     **/
    @PostMapping("/wallet/establishWallet")
    public Result establishWallet(@RequestBody Wallet wallet);
}
